//
//  BaseWindowController.m
//  macapp
//
//  Created by Cocoa on 2020/4/11.
//  Copyright © 2020 Talent. All rights reserved.
//

#import "BaseWindowController.h"
#import "AppDelegate.h"

@interface BaseWindowController ()

@end

@implementation BaseWindowController

//- (void)windowDidLoad {
//    [super windowDidLoad];
//    
//}

- (void)showWindow:(id)sender {
    [super showWindow:sender];
    // 强引用这个Window，不然这个Window会在跳转之后的瞬间被销毁
    //    AppDelegate *appDelegate = (AppDelegate *)[NSApplication sharedApplication].delegate;
    //    appDelegate.mainWindowController = self;
}

@end
